package com.usian.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_details")
public class OrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单详情ID
     */
    @TableId(value = "detail_id", type = IdType.AUTO)
    private Integer detailId;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 车辆ID
     */
    private Integer carId;

    /**
     * 租借开始时间
     */
    private LocalDate rentalStartDate;

    /**
     * 租借结束时间
     */
    private LocalDate rentalEndDate;

    /**
     * 提车地点
     */
    private String pickupLocation;

    /**
     * 订单总费用
     */
    private BigDecimal totalCost;


}
